package com.sss.hloster0506;

public class SetPriority {

	public static void main(String[] args) {
		QThread qt=new QThread();
		 SThread st=new  SThread();
//给QT设置低优先级。给st
		 qt.setPriority(Thread.NORM_PRIORITY);
		 st.setPriority(Thread.MIN_PRIORITY);
		 qt.start();
		 st.start();
	}

}
